home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3572 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.2 KB

  1. Path: proffa.cc.tut.fi!l152268
  2. From: l152268@proffa.cc.tut.fi (Lempi{inen Jarkko)
  3. Newsgroups: comp.lang.c++,comp.programming
  4. Subject: Re: Why are 32 bit better than 16 bit pgms?
  5. Followup-To: comp.lang.c++,comp.programming
  6. Date: 24 Jan 1996 22:30:05 GMT
  7. Organization: Tampere University of Technology, Computing Centre
  8. Distribution: world
  9. Message-ID: <4e6btd$o5r@cc.tut.fi>
  10. References: <30FBFFE6.1FEB@netcom.com> <4dkshb$l3h@newserv.ksu.ksu.edu> <4dmecj$s66@maureen.teleport.com>
  11. NNTP-Posting-Host: proffa.cc.tut.fi
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. Jeff Grossman (grossman@teleport.com) wrote:
  15. : ferris@ksu.ksu.edu (ferris) wrote:
  16. : >In article <30FBFFE6.1FEB@netcom.com>, vain@netcom.com says...
  17. : >>
  18. : >>I have a simple questions:
  19. : >>
  20. : >>   What's are 32 bit pgms better than 16 bit programs?
  21. : >>
  22. : >>   Thanks
  23. : >
  24. : >Programs that use 32 bit proccesses go faster than using 16 bit because 
  25. : >the cpu takes 32 bits in one whack instead of 16 bits.  Wouldn't you be 
  26. : >able to finish your homework faster if you could do 5 problems all at once 
  27. : >instead of one.
  28. : >
  29.  
  30. : Performance gains from going to 32-bits sometimes can be elusive (but only
  31. : sometimes). And, your code may grow in size, depending on the cpu type (e.g.,
  32. : the x86).
  33.  
  34. the size of code is irrelevant, because what defines the size of the code
  35. is mostly the data. and if 32-bit code has been done in pmode (where all
  36. programs are heading at), the code is ofcoz faster than 16-bit code and
  37. the size of the 32-bit code also decreases bec. no mode change swithing 
  38. byte is required for each 32-bit command (16-bits commands instead).
  39.  
  40. : OTOH, 32-bit code (for Intel arch) is simpler than 16-bit and therefore
  41. : quicker and easier to implement, which is valuable.
  42.  
  43. : But probably the strongest motivation for going to 32-bits is that most
  44. : people think it is "cool" and they are willing to pay more money for
  45. : someone who can write 32-bit code (even though it is easier!).
  46.  
  47. yeah, really cool, like i'm running at the streets that i can code 32-bits
  48. code (= maybe bigger motivation is that then you can access to memory above
  49. 1MB easily and do faster code..
  50.  
  51. : This, of course, is a deep secret among us developers, so don't tell anyone, OK?
  52.  
  53. ok
  54.  
  55. : Jeff
  56.  
  57.                                 - Altair -
  58.